﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Fjaspx.UI.Web.Administrator.App_Api
{
    public partial class _GetPwd : UserPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                Response.Clear();
                ___ROYcms_user_model = ___ROYcms_user_bll.GetModel(Convert.ToInt32(Request["user_id"]));
                string SendMailDate = null;
                if (Fjaspx.Common.SystemCms.SendMail(Request["ToEmail"], Request["ToEmail"], Request["ToEmail"]))
                {
                    SendMailDate = "密码发送到" + Request["ToEmail"] + "请查收!";
                }
                else { SendMailDate = "发送到" + Request["ToEmail"] + "失败!"; }
                Response.Write(SendMailDate);
            }
        }
    }
}
